package com.wyk.Service.Impl;

import com.wyk.Service.UserService;
import com.wyk.Spring.ApplicationContextAware;
import com.wyk.Spring.Component;
import com.wyk.Spring.InitializingBean;
import com.wyk.Spring.Scope;

/**
 * @ClassName: UserServiceImpl
 * @Description:
 * @Author: 初久
 * @Date: 2022/7/3 16:06
 **/
@Component
@Scope("prototype")
public class UserServiceImpl implements UserService, InitializingBean, ApplicationContextAware {

    @Override
    public void afterPropertiesSet() {
        System.out.println("初始化方法");
    }

    @Override
    public void Aware() {
        System.out.println("回调方法");
    }
}
